package com.waimai1.waimai.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * (ChoujiangRes)表实体类
 *
 * @author makejava
 * @since 2023-12-22 10:44:05
 */
@SuppressWarnings("serial")
@Data
public class ChoujiangRes extends Model<ChoujiangRes> {
    //抽奖结果
    private Integer id;
    private Integer acid;

    private String openid;
    
    private String phone;
    
    private Integer choujiangId;
    
    private String jiangName;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getChoujiangId() {
        return choujiangId;
    }

    public void setChoujiangId(Integer choujiangId) {
        this.choujiangId = choujiangId;
    }

    public String getJiangName() {
        return jiangName;
    }

    public void setJiangName(String jiangName) {
        this.jiangName = jiangName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

